import menu from "@/pages/main/sysManager/Menu.vue"
import operationLog from "@/pages/main/sysManager/OperationLog.vue"
import role from "@/pages/main/sysManager/Role.vue"
import user from "@/pages/main/sysManager/User.vue"

export default {
    path: '/sysManager',
    name: 'sysManager',
    icon: 'Setting',
    meta: {
        ln: 'router.sysManager.title',
        auth: true,
        frame: true,
        menu: true
    },
    children: [
        {
            path: '/sysManager/user',
            name: 'User',
            component: user,
            icon: 'User',
            meta: {
                ln: 'router.sysManager.user',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/sysManager/role',
            name: 'Role',
            component: role,
            icon: 'Avatar',
            meta: {
                ln: 'router.sysManager.role',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/sysManager/menu',
            name: 'Menu',
            component: menu,
            icon: 'Memo',
            meta: {
                ln: 'router.sysManager.menu',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        },
        {
            path: '/sysManager/operationLog',
            name: 'OperationLog',
            component: operationLog,
            icon: 'Document',
            meta: {
                ln: 'router.sysManager.operationLog',
                auth: true,
                // 页面需要被缓存
                keepAlive: true,
                menu: true
            },
        }
    ]
}